package com.ethink.warehouse.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ethink.framework.common.db.SuperEntity;

/**
 * 仓库主仓 数据库实体
 *
 * @author default
 * @date 2022-11-01
 */
@Data
@TableName("t_warehouse")
public class Warehouse extends SuperEntity {

    public static final String WAREHOUSE_CODE ="warehouse_code";

    public static final String WAREHOUSE_NAME ="warehouse_name";

    public static final String WAREHOUSE_STATUS ="warehouse_status";

    public static final String BIZ_TYPE ="biz_type";

    public static final String COUNTRY_CODE ="country_code";

    public static final String PROVINCE_CODE ="province_code";

    public static final String CITY_CODE ="city_code";

    public static final String AREA_CODE ="area_code";

    public static final String FULL_ADDRESS ="full_address";

    public static final String ADDRESS ="address";

    public static final String CONTACTS_NAME ="contacts_name";

    public static final String CONTACTS_PHONE ="contacts_phone";


    /** 主仓编号 */
    private String warehouseCode;

    /** 主仓名称 */
    private String warehouseName;

    /** 枚举 状态:1-启用(open)|2-关闭(close) */
    private Integer warehouseStatus;

    /** 枚举 所属业务:1-跨境(b1)|2-大贸(b2) */
    private Integer bizType;

    /** 是否境外 */
    private Boolean isOutbound;

    /** 是否虚拟 */
    private Boolean isVirtual;

    /** 国家编码 */
    private String countryCode;

    /** 省编码 */
    private String provinceCode;

    /** 城市编码 */
    private String cityCode;

    /** 地区编码 */
    private String areaCode;

    /** 全地区 */
    private String fullAddress;

    /** 仓库地址 */
    private String address;

    /** 负责人 */
    private String contactsName;

    /** 负责人电话 */
    private String contactsPhone;

}
